<!DOCTYPE html>
<html lang="es">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Gestor Contenido	</title>
		<?php
				echo $this->Html->meta('icon');
				echo $this->Html->css('portada');
				echo $this->Html->css('jquery-ui');
				echo $this->Html->css('easyui');
				echo $this->Html->script('jquery');
				echo $this->Html->script('jquery-ui');
				echo $this->Html->script('jeasyui');
				echo $this->Html->script('funciones');
				echo $this->Html->script('portada');
		?>
		<script>
			//$('.boton_modulo').button();
			 
		</script>
	</head>
<body>
	<div id="container" >
		<?php include_once('portada/header.php');?>
		<div id="contenido" class="easyui-layout" >
			    <div data-options="region:'west'" style="width:200px;">
					   <div id="p" class="easyui-panel" title="Administrador" style="width:198px;height:150px;padding:10px;background:#fafafa;"  
				        data-options="iconCls:'icon-save',collapsible:true">  
				    <p>Usuario Mario</p>  
				    <p>panel content.</p>  
				</div> 
					<div id="inicio" class="boton_modulo">
						Inicio
					</div>
					<div id="modulo_correo" class="boton_modulo">
						Correo
					</div>
					<div id="servidor" class="boton_modulo">
						Servidor Base Datos
					</div>
					<div id="registro" class="boton_modulo" >
						Registro Servidor
					</div>
					<div id="modulo_ajustes" class="boton_modulo">
						Ajustes
					</div>
					<div id="modulo_suario" class="boton_modulo">
						Usuario
					</div>
					<div id="cerrar_sesion" class="boton_modulo">
						Cerrar sesion
					</div>
			    </div>  
			    <div data-options="region:'center',title:'s'" style="background:#eee;">
				    <div id="content">
				    	<?php echo $this->fetch('content'); ?>
				    </div>
			    </div>  
		</div>
		<!-- <?php include_once('portada/footer.php');?> -->
	</div>	
</body>
<script>
		//$("#content").load(urlbase+'registro');
		$(window).resize(function() {
			//alert($(window).height());
		});
		
		$('#container').height($(window).height());

		$('#contenido').height(($('#container').height()-$('#header').height())-$('#footer').height());
			 $( "#boton_cerrar_sesion" ).addClass( "newClass", 1000, callback );
</script>
</html>
